package com.p900.website.service;

import com.p900.commons.domain.Platform;
import org.springframework.data.domain.Page;

import org.springframework.data.domain.Pageable;

/**
 * Created by lenovo on 2015/5/2.
 */
public interface PlatformService {

    /**
     * 根据id查询平台
     * @param id id
     * @return Platform
     */
    public Platform findPlatform(Long id);

    public Platform save(Platform platform);

    public Page<Platform> findAll(Pageable pageable);

    public void delete(Long id);
}
